package com.itqf.Dao;

import com.itqf.entity.Answer;
import org.apache.ibatis.annotations.Options;

import java.util.List;
import java.util.Map;
/**
 * 大帅 2019/10/14 21:21
 */
public interface AnswerMapper {
    //删除回答
    public int deleteByPrimaryKey(String answeruserid);

    //新增回答
    public int insert(Answer answer);

    int insertSelective(Answer record);

    Answer selectByPrimaryKey(Integer answeruserid);

    int updateByPrimaryKeySelective(Answer record);

    //修改回答
    public int updateByPrimaryKey(Answer answer);

    //分页
    public List<Answer> findall(int requsetionid);



   //获得新增数据的ID值
   int insertAnserer(Answer answer);

    int deleteByid(Map map);

    int updateAnserer(Map map);


}